<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>add-control</title>
	<style>
	#map_canvas{width:640px;height:400px}
	</style>
	<script src="http://api.map.baidu.com/api?v=1.2"></script>
</head>
<body>
<div id="map_canvas"></div>
<script>
var map = new BMap.Map('map_canvas');
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var navCtrl = new BMap.NavigationControl();
map.addControl(navCtrl);
map.addControl(new BMap.ScaleControl());
map.addControl(new BMap.OverviewMapControl());
map.addControl(new BMap.MapTypeControl());
</script>
</body>
</html>
